﻿using System;
using System.Runtime.Serialization;

namespace HiTeachers.Services.Exceptions
{
    public class EmailAlreadyExistException : BusinessException
    {
        public EmailAlreadyExistException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public EmailAlreadyExistException(string message)
            : base(message)
        {
        }

        public EmailAlreadyExistException(string message, int errorCode)
            : base(message, errorCode)
        {
        }

        public EmailAlreadyExistException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        public EmailAlreadyExistException(string message, Exception innerException, int errorCode)
            : base(message, innerException, errorCode)
        {
        }
    }
}
